{include file="public/head"}

<body>
<div id="wrapper">
    {include file="public/menu"}

    <div id="page-wrapper" class="gray-bg dashbard-1">
        {include file="public/nav"}
        <div class="row wrapper border-bottom white-bg page-heading">
            <div class="col-lg-10">
                <h2>{:lang('组织新球')}</h2>
                <ol class="breadcrumb">
                    <li>
                        <a href="{:url('User/Panel')}">主页</a>
                    </li>
                    <li>
                        <a>会员组织</a>
                    </li>
                    <li>
                        <strong>组织新球</strong>
                    </li>
                </ol>
            </div>
            <div class="col-lg-2">

            </div>
        </div>
        <div class="wrapper wrapper-content animated fadeInRight">
            <div class="row">
                <div class="col-lg-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>组织新球列表</h5>
                            <div class="ibox-tools">
                                <small>共 {$Count} 条</small>
                            </div>
                        </div>

                        <div class="ibox-content">
                            <div class="table-responsive">
                                <table class="table table-hover">
                                    <thead>
                                    <tr>
                                        <th>详情</th>
                                        <th>用户</th>
                                        <th>配套</th>
                                        <th>类型</th>
                                        <th>订单编号</th>
                                        <th>总支付</th>
                                        <th>放置网图</th>
                                        <th>时间</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {volist name="ball" id="v"}
                                    <tr>
                                        <td>
                                            {if condition="$v.status eq 0"}
                                            <a href="{:url('UserSetBall')}?id={$v.id}" class="btn btn-xs btn-danger">去放置</a>
                                            {elseif condition="$v.status eq 1" /}
                                            <a class="btn btn-xs btn-primary">已放置</a>
                                            {/if}
                                        </td>
                                        <td>{$v.username}</td>
                                        <td>{$v.match_type == 1?'500配套':'1000配套'}</td>
                                        <td>{$v.type == 1?'入金':'分裂赠送'}</td>
                                        <td>{$v.order_id}</td>
                                        <td>{$v.pay_amount} USDT</td>
                                        <td>{$v.map_number}</td>
                                        <td>{$v.add_time|date='Y-m-d H:i:s',###}</td>
                                    </tr>
                                    {/volist}
                                    </tbody>
                                </table>
                            </div>
                            <div class="row" style="text-align: center">
                                {$Page}
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
        {include file="public/foot"}
    </div>
</div>
</div>
{include file="public/footer"}
<script>

</script>
</body>
</html>
